<?php

namespace backend\models;

use Yii;

/**
 * This is the model class for table "sys_item_prices_ex".
 *
 * @property integer $id
 * @property integer $price_id
 * @property integer $price_ex_id
 * @property string $price_ex_value
 */
class SysItemPricesEx extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'sys_item_prices_ex';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['price_id', 'price_ex_id'], 'integer'],
            [['price_ex_value'], 'string', 'max' => 200]
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'price_id' => 'Price ID',
            'price_ex_id' => 'Price Ex ID',
            'price_ex_value' => 'Price Ex Value',
        ];
    }

}
